
public class Test2 {

	public static void main(String[] args) {
		String test1 = "1444720862256_51.jpg";
		String test2 = test1.substring(test1.lastIndexOf("_")+1, test1.lastIndexOf("."));
		System.out.println(test2);
	}

}
